package com.maiji.cloud.cfgbeans;

import com.netflix.loadbalancer.*;
import org.springframework.context.annotation.Bean;

public class RibbonAppLoginConfig {

    @Bean  // 自定义负载策略
    public IRule myRule()	{
        return new RoundRobinRule();
    }

}
